home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ Win2K UDMA66.xpl < prev    next >
Text File  |  2001-04-13  |  1KB  |  44 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Hardware\Hard Disk"
  5. "NAME"="Windows 2K/XP UDMA"
  6. "VERSION"="1.10"
  7. "OSVERSION"="000101"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Enable UDMA/66"
  10. "DESCRIPTION 1"="With DMA enabled on IDE channels, UDMA/66 is still disabled by default in Windows 2000, possibly also in Windows XP."
  11. "DESCRIPTION 2"="Check box to Enable UDMA/66."
  12. "WARNING"="1"
  13. "AUTHOR"="Ojatex@aol.com"
  14. "CONTACTURL"="http://members.aol.com/ojatex/"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="This is useful for both Intel and AMD chips, possibly others as well."
  17. "COMMENT 2"="Updated by CptSiskoX for Windows XP."
  18.  
  19.  
  20. sP="HKLM\System\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0000\EnableUDMA66"
  21.  
  22. Sub Plugin_Initialize 
  23.     i=RegReadValue(sP)
  24.     if i=1 then SetUIElement 1,true
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  b=GetUIElement(1)
  32.  if b=true then
  33.     Call RegWriteValue(sP,1,2)
  34.  else  
  35.     Call RegWriteValue(sP,0,2)
  36.  end if
  37.  
  38.  Call Restart()
  39. End Sub
  40.  
  41. Sub Plugin_Terminate 
  42. End Sub
  43.  
  44.